

export default class ModuleDemo {


    constructor() {
        this.factorys = new Map();

       // this.factorys.put("node-type-1",{"name":"node-type-1","factory":this.node1f});


    }


    findMenu(){
        var maps = new Array();
        let _this=this;
        maps.push( {"name":"node-type-1" ,"factory": _this.node1f});
          return   maps;
    }


    node1f   (connections ) {
        return {
            name: 'Node 3',
            id: 'Node_3',
            type: 'node-type-3',
            payload: { h1: '!', data: { } },
            inputs: [],
            outputs: [{ connection: connections ? connections.output[0] : [], name: 'output 1' }]
        }
      };





}
